<!-- 正在进行 -->
<template>
	<div>
		<devArticle>
			<div style="background:#eee;padding: 20px">
				<Card :bordered="false">
					<p slot="title">正在进行</p>
					<p>
						<Row style="padding:10px 0">
							<Col span="8" offset="16">
								<Input search enter-button="搜索" placeholder="请输入关键字" />
							</Col>
						</Row>
						<Row >
							<Col span="24" >
								<!-- 待排序 -->
								 <Table border :columns="columns5" :data="data5"></Table>
							</Col>
						</Row>
						<Row style="padding:10px 0">
							<Col span="24">
								<Page style="float:right" :total="100" show-total />
							</Col>
						</Row>
					</p>
				</Card>
			</div>
		</devArticle>
	</div>
</template>
<script type="text/javascript">
	export default {
		data() {
			return {
				 columns5: [
                    {
						align: "center",
                        title: '项目编号',
                        key: 'date',
                        sortable: true
                    },
                    {
						align: "center",
                        title: '项目名称',
                        key: 'name'
                    },
                    {
						 align: "center",
                        title: '建设单位',
                        key: 'unit',
                        sortable: true
                    },
                    {
						 align: "center",
                        title: '类型',
						key: 'class',
						sortable: true
                    },
                    {
						 align: "center",
                        title: '修改日期',
						key: 'alertDay',
						sortable: true
                    },
                    {
						 align: "center",
                        title: '状态',
						key: 'state',
						sortable: true
                    },
                    {
						align: "center",
                        title: '操作',
						key: 'operation',
						render: (h, params) => {
							return h("div", [
								 h(
									"Button", {
									props: {
										type: "primary",
										size: "small"
									},
									style: {
										marginRight: "5px",
										color: "#ffffff",
										background: "#2996ff",
										border: "none",
										padding: "0px 5px"
									},
									on: {
										click: () => {
										this.show(params.index);
										}
									}
									},
									"查看"
								),
								h(
									"Button", {
									props: {
										type: "primary",
										size: "small"
									},
									style: {
										marginRight: "5px",
										color: "#ffffff",
										background: "#2996ff",
										border: "none",
										padding: "0px 5px"
									},
									on: {
										click: () => {
										this.show(params.index);
										}
									}
									},
									"修改"
								)
							])
						}
                    },
                ],
                data5: [
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                    {
                        date: '0000000',
                        unit: '某某某某项目',
                        address: '某某某某',
						class: '报告书',
						alertDay:'2018-08-24',
						state:'资料收集'
                    },
                   
                ]
			}
		},
		methods:{
			show(index){
				console.log(index)
				this.$router.push("/my/MyProjectAudit")
			}
		}
	}
</script>
<style>
	
</style>